package utils;

public class LockUtil {
	
	private static LockUtil mUserCourseLock = null;
	private static LockUtil mCourseSessionLock = null;
	
	public static synchronized LockUtil getCourseSessionLock() {
		if (mCourseSessionLock == null) {
			mCourseSessionLock = new LockUtil();
		}
		
		return mCourseSessionLock;
	}
	
	public static synchronized LockUtil getUserCoursesLock() {
		if (mUserCourseLock == null) {
			mUserCourseLock = new LockUtil();
		}
		
		return mUserCourseLock;
	}

}
